//
//  CPDock.h
//  财富管家
//
//  Created by rimi on 15/9/25.
//  Copyright (c) 2015年 rimicp. All rights reserved.
//

#import <UIKit/UIKit.h>


@class CPDock;


@protocol CPDockDelegate <NSObject>
@optional
- (void)dock:(CPDock *)dock tabChangeFrom:(NSInteger)from to:(NSInteger)to;
@end

@interface CPDock : UIView

- (void)addOneTab:(NSString *)icon selectedIcon:(NSString *)selectedIcon index:(NSInteger)index;
@property (nonatomic, weak) id<CPDockDelegate> delegate;

@end
